package com.jabo.douban.demo.test;

import android.view.View;

/**
 * Author: Administrator
 * Time:   2020-03-09
 **/
public class AnimatorHelper {


    public static void zuanAnimator(View srcView, View dstView) {
        int[] srcViewPoint = new int[2];
//        View srcCopyView = new View(srcView.getContext());
//        ViewGroup.LayoutParams layoutParams = srcView.getLayoutParams();
//        ViewGroup.LayoutParams copyLayout = new ViewGroup.LayoutParams(layoutParams);
//
////        srcView.
//
//        srcCopyView.setLayoutParams(copyLayout);
////        srcView.get
//        int left = srcView.getLeft();
//        int top = srcView.getTop();
//        srcCopyView.layout(left, top, left + copyLayout.width, top + copyLayout.height);
//
//        int left1 = dstView.getLeft();
//        int top1 = dstView.getTop();
//
//        srcCopyView.animate()
//                .translationX(50)
//                .translationY(50)
//                .scaleX(1.2f)
//                .scaleY(1.2f);


    }
}
